#ifndef _BUOLA_NET_CXMLRPCREPLY_H_
#define _BUOLA_NET_CXMLRPCREPLY_H_

#include <buola/xml.h>
#include <buola/net/cxmlrpcstruct.h>

namespace buola { namespace io {

class CXMLRPCReply
{
public:
    CXMLRPCReply(const std::string &pReply);

    void GetValue(CXMLRPCStruct &pValue);
    
    const xml::CDoc &XML()    {   return mXML;    }

private:
    xml::CDoc mXML;
    xml::CNode mValue;
};

/*namespace io*/ } /*namespace buola*/ }

#endif
